<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
  <head>
    <title><?php echo Config::get_slot('title', 'Site des associations de Genlis') ?></title>
    <link rel="shortcut icon" href="/favicon.ico" />

    <?php include_css() ?>
    <?php $active = Config::get_slot('active', 'home')?>
    
  </head>
  <body>
    <div id="page">
      <div id="header">
	<a href="<?php echo link_to('')?>"><img src="images/logo.png" class="logo" alt="website logo" /></a>
	<ul id="secondary-menu">
	  <li><a href="#">Mentions légales</a></li>
          <li><a href="#">Contact</a><span>|</span></li>
	  <li><a href="#">Associations</a><span>|</span></li>
	</ul>
	<ul id="primary-menu" class="clear">
            <?php if($active == 'home'):?>
                <li class="active"><span>Accueil</span></li>
            <?php else: ?>
                <li><a href="<?php echo link_to('')?>">Accueil</a></li>
            <?php endif;?>
            <?php if($active == 'news'):?>
                <li class="active"><span>Actualité</span></li>
            <?php else: ?>
                <li><a href="<?php echo link_to('actualite/index.html')?>">Actualité</a></li>
            <?php endif;?>
            <?php if($active == 'agenda'):?>
                <li class="active"><span>Agenda</span></li>
            <?php else: ?>
                <li><a href="<?php echo link_to('agenda/index.html')?>">Agenda</a></li>
            <?php endif; ?>
	</ul>
      </div>
      <div id="content-top">
	<div id="carroussel">
	  CARROUSSEL
	</div>
	<div id="search-block">
	  <div id="tags">TAGS</div>
	  <form method="get" id="search-form" action="">
             <label>Recherche</label>
	    <input type="text" name="search-keywords" class="inputtext" />
	    <input type="submit" name="search-submit" class="button" value="OK" />
	  </form>
	</div>
      </div>
      <div id="content" class="clear">
	<?php echo $content ?>
      </div>
      <div id="footer" class="clear">
	<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.&nbsp;&nbsp;</p>
      </div>
    </div>
  </body>
</html>
